home *** CD-ROM | disk | FTP | other *** search
/ The Very Best of Atari Inside / The Very Best of Atari Inside 1.iso / mint / mintmant / flink.txt < prev    next >
Text File  |  1992-03-24  |  1KB  |  64 lines

  1. Flink(2)                  Oct. 7, 1991                   Flink(2)
  2.  
  3.  
  4.  
  5. NAME
  6.      Flink - create a new link to a file
  7.  
  8. SYNOPSIS
  9.      LONG Flink( char *oldname, char *newname );
  10.  
  11. DESCRIPTION
  12.      Flink creates a new  name  (a  "hard  link")  for  the  file
  13.      currently  named  oldname.  If the Flink call is successful,
  14.      then after the call the file may be referred  to  by  either
  15.      name,  and  a call to Fdelete on either name will not affect
  16.      access to the file through  the  other  name.   oldname  and
  17.      newname  must  both refer to files on the same physical dev-
  18.      ice. Note also that not all file systems allow links.
  19.  
  20. RETURNS
  21.      0 on success
  22.  
  23.      EXDEV if oldname and newname refer  to  files  on  different
  24.      physical devices
  25.  
  26.      EINVFN if the file system does not allow hard links
  27.  
  28.      EFILNF if the file named oldname does not currently exist
  29.  
  30. SEE ALSO
  31.      Frename(2), Fsymlink(2)
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60. Version 0.9   Last change: MiNT Programmer's Manual             1
  61.  
  62.  
  63.  
  64.